package com.ktgj.sms.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 短信模板对象 sms_template
 * 
 * @author ruoyi
 * @date 2021-08-11
 */
public class SmsTemplate implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 短信模板id */
    private Long smsTemplateId;

    /** 发送方式 */
    @Excel(name = "发送方式")
    private String sendMeans;

    /** 模板类型 */
    @Excel(name = "模板类型")
    private String templateType;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 模板内容 */
    @Excel(name = "模板内容")
    private String templateContent;

    /** 模板类型id */
    @Excel(name = "模板类型id")
    private Long templateTypeId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 业务线类型 */
    @Excel(name = "业务线类型")
    private String busType;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 员工id */
    @Excel(name = "员工id")
    private Long employeeId;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDelete;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /*----------------------------------------------------------------------*/

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String employeeName;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String creationTime;

    /** 员工id */
    @Excel(name = "员工id")
    private String employeeType;

    /** 创建时间前 */
    @Excel(name = "创建时间前")
    private String createDate;

    /** 创建时间后 */
    @Excel(name = "创建时间后")
    private String createTimeBack;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(String creationTime) {
        this.creationTime = creationTime;
    }

    public String getEmployeeType() {
        return employeeType;
    }

    public void setEmployeeType(String employeeType) {
        this.employeeType = employeeType;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getCreateTimeBack() {
        return createTimeBack;
    }

    public void setCreateTimeBack(String createTimeBack) {
        this.createTimeBack = createTimeBack;
    }

    public void setSmsTemplateId(Long smsTemplateId)
    {
        this.smsTemplateId = smsTemplateId;
    }

    public Long getSmsTemplateId() 
    {
        return smsTemplateId;
    }
    public void setSendMeans(String sendMeans) 
    {
        this.sendMeans = sendMeans;
    }

    public String getSendMeans() 
    {
        return sendMeans;
    }
    public void setTemplateType(String templateType) 
    {
        this.templateType = templateType;
    }

    public String getTemplateType() 
    {
        return templateType;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setTemplateContent(String templateContent) 
    {
        this.templateContent = templateContent;
    }

    public String getTemplateContent() 
    {
        return templateContent;
    }
    public void setTemplateTypeId(Long templateTypeId) 
    {
        this.templateTypeId = templateTypeId;
    }

    public Long getTemplateTypeId() 
    {
        return templateTypeId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setBusType(String busType) 
    {
        this.busType = busType;
    }

    public String getBusType() 
    {
        return busType;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("smsTemplateId", getSmsTemplateId())
            .append("sendMeans", getSendMeans())
            .append("templateType", getTemplateType())
            .append("templateName", getTemplateName())
            .append("templateContent", getTemplateContent())
            .append("templateTypeId", getTemplateTypeId())
            .append("status", getStatus())
            .append("busType", getBusType())
            .append("deptId", getDeptId())
            .append("employeeId", getEmployeeId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
